export default {
  inserted(el, bindings, vnode) {
    // console.log(1111, bindings);
    let btnPower = bindings.value;
    // console.log("btnPower", btnPower);
    let boolean = vnode.context.$store.state.buttonPower[btnPower];
    !boolean && el.parentNode.removeChild(el);
  },
};
